# -*- coding: utf-8 -*-
import webapp2
import handler

from google.appengine.ext.webapp.util import run_wsgi_app

routes = [
    webapp2.Route(
        '/',
        handler=handler.DisplayData,
        name='show'),
    webapp2.Route(
        '/clear',
        handler=handler.ClearPersons,
        name='clear'),
    webapp2.Route(
        '/addvalue',
        handler=handler.AddPerson,
        name='add'),
]

application = webapp2.WSGIApplication(routes, debug=True)


def main():
    run_wsgi_app(application)


if __name__ == "__main__":
    main()